package com.youpai.platform.user.web.entity.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @author welles
 * @version 1.0
 * @description 用户邮箱登陆请求参数
 * @date 2021/10/25
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "UserEmailLoginReq",description = "用户邮箱登陆请求参数")
public class UserEmailLoginReq {

    @NotBlank(message = "邮箱不能为空")
    @ApiModelProperty(value = "邮箱登录")
    private String email;

    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty(value = "验证码")
    private String verificationCode;
}
